package com.finance.cooperate.feature.core.service;

import com.finance.cooperate.dao.support.dto.ScrapyAppCategoriesDTO;

import java.util.List;

/**
 * @ClassName ScrapyAppsCacheService
 * @Description 爬虫缓存服务
 * @Author shen
 * @Date 2022/9/14 15:08
 * @Modify ...
 */
public interface ScrapyAppsCacheService {

    /**
     * @Author shen
     * @Description 根据类目查询
     * @Date 1:51 下午 2021/3/26
     * @Param [categoriesId]
     * @return java.util.List<cm.finance.crm.dao.entity.secondary.ScrapyAppList>
     **/
    List<ScrapyAppCategoriesDTO> getByCategories(String categoriesId);



    /**
     * @Author shen
     * @Description 获取前 N 个
     * @Date 4:48 下午 2021/3/26
     * @Param [categoriesId, count]
     * @return java.util.List<cm.finance.crm.dao.entity.secondary.ScrapyAppList>
     **/
    List<ScrapyAppCategoriesDTO> getByCategories(String categoriesId, int count);

}
